package com.shortlink.admin.remote.dto.shortlinkstats;

import com.shortlink.admin.remote.dto.shortlinkmapper.ShortLinkReqDTO;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.util.List;

/**
 * 分组短链接监控请求参数
 *
 * @author wp
 */
@Data
@NoArgsConstructor
public class BatchShortLinkStatsReqDTO extends DateSelectorDTO {
    /**
     * 短链接
     */
    private List<ShortLinkReqDTO> shortLinks;

    public BatchShortLinkStatsReqDTO(List<ShortLinkReqDTO> shortLinks, LocalDate startDate, LocalDate endDate) {
        super(startDate, endDate);
        this.shortLinks = shortLinks;
    }
}